package com.twh.www.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;
import lombok.Data;

/**
 * 
 * @TableName wn_order
 */
@TableName(value ="wn_order")
@Data
public class WnOrder {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    private String no;

    /**
     * 
     */
    private LocalDateTime addTime;

    /**
     * 
     */
    private Integer userId;

    /**
     * 
     */
    private BigDecimal totalMoney;

    /**
     * 
     */
    private String address;

    /**
     * 
     */
    private String accept;

    /**
     * 
     */
    private String telphone;

    /**
     * 
     */
    private String payType;

    /**
     * 
     */
    private LocalDateTime payTime;

    /**
     * 
     */
    private LocalDateTime finishTime;

    /**
     * 
     */
    private LocalDateTime sendTime;

    /**
     * 
     */
    private String status;

    /**
     * 
     */
    @TableField(exist = false)
    private List<WnOrderItem> items;
}